package com.zx.dto;

import com.zx.entity.Fooddetail;
import com.zx.entity.Material;
import lombok.Data;

import java.util.List;

@Data
public class FoodDTO {
    //food表对应字段
    private Integer foodId;
    private Integer userId  ;
    private Integer categoryId  ;
    private String foodName;
    private String title;
    private String detail;
    private String image;
    //fooddetail表对应字段
    private Integer fooddetailId ;
    private Integer step ;
    private List<Fooddetail> fooddetail;
    //material表对应字段
    private Integer materiaId ;
    private List<Material> material;
}
